﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.HealthMonitoring
{
    /// <summary>
    /// 血糖
    /// </summary>
    public class BloodSugar
    {
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int SId {  get; set; }
        /// <summary>
        /// 患者编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 患者名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 餐前血糖
        /// </summary>
        public decimal FastingBloodGlucose {  get; set; }
        /// <summary>
        /// 测试时间
        /// </summary>
        public DateTime FastingTime {  get; set; }
        /// <summary>
        /// 餐后血糖
        /// </summary>
        public decimal PostprandialBloodGlucose { get; set; }
        /// <summary>
        /// 测试时间
        /// </summary>
        public DateTime PostprandialTime { get; set; }

        

    }
}
